package domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

@Entity
@DiscriminatorValue("top manager")
public class TopManager extends Role implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
//	@OneToMany// It should be Many to Many ???
//	private List<Driver> drivers = new ArrayList<Driver>();
//	
//	public List<Driver> getDrivers() {
//		return drivers;
//	}
//
//	public void addDrivers(Driver driver) {
//		this.drivers.add(driver);
//	}

}
